Skip to content

Prevent infinite recursion in rustdoc #17492

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 25, 2014
Merged

Conversation

alexcrichton
Copy link
Member

Details in the commits.

Cyclic pub-use chains triggered infinite recursion, and this commit adds a hash
set to guard against cyclic recursion. This will cause one of the reexports to
render as a `pub use` instead of inlining the documentation.

Closes rust-lang#16274
bors added a commit that referenced this pull request Sep 25, 2014
@bors bors closed this Sep 25, 2014
@bors bors merged commit 3d8ca59 into rust-lang:master Sep 25, 2014
@alexcrichton alexcrichton deleted the issue-16274 branch October 11, 2014 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants